package com.ohs.ohsoa.system.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * subgroupAndUserRelation小组管理者实体类（
 *
 * @author mwx
 * @since  2021年9月17日
 */
@Data
public class SubgroupAndUserRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull
    private String sURGuid;

    @ApiModelProperty(value = "小组主键")
    @NotNull
    private String subgroupGuid;

    @ApiModelProperty(value = "成员ID")
    @NotNull
    private String userGuid;

    @ApiModelProperty(value = "管理者标记,0普通成员 1管理者")
    @NotNull
    private char manageFlag = '0';

    @ApiModelProperty(value = "ids")
    private List<String> ids;

    @ApiModelProperty(value = "成员名称")
    private String userName;

    @ApiModelProperty(value = "部门名称")
    private String departName;
}
